<template>
  <div class="sec-home-page">
    <!-- 子页首页 -->
    <div class="home-card" v-for="(item,index) in videos" :key="index">
      <video-card-box :title="item.name" :videos="item.videoList" :icon="true"></video-card-box>
    </div>
  </div>
</template>

<script>
import VideoCardBox from './VideoCardBox'
export default {
  props: ['videos'],
  components: {
    VideoCardBox
  },
  data () {
    return {}
  },
  methods: {}
}
</script>

<style lang="scss">
.sec-home-page {
  width: 100%;
  background-color: #fff;
  .home-card {
    padding: 10px;
  }
}
</style>
